home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / sfnec.arc / APPENDIX.DOC next >
Text File  |  1984-11-15  |  62KB  |  1,713 lines

  1. L008
  2.                                                     X!APPENDICIES"Y
  3.  
  4.  
  5.  
  6. !PRINTER SWITCH SETTINGS" ----------------------------------- A.1
  7.  
  8. !H TEST" ---------------------------------------------------- B.1
  9.  
  10. !CONTROL SEQUENCES" (a list) -------------------------------- C.1
  11.      General Printer Control ------------------------------ C.1
  12.      Horizontal Movement ---------------------------------- C.2
  13.      Vertical Movement ------------------------------------ C.5
  14.      Manipulation of Printable Characters ----------------- C.8
  15.      Bit-Graphics ---------------------------------------- C.10
  16.  
  17. !ASCII CHARACTER CODES" (a list) ---------------------------- D.1
  18.  
  19. !NUMBERING SYSTEMS" ----------------------------------------- E.1
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.                                APX
  60.  
  61.                                                      X!APPENDIX A"Y
  62.  
  63.  
  64.  
  65. !PRINTER SWITCH SETTINGS"
  66.  
  67.  
  68. When you remove the carrier cover from your NEC 8023A, you will 
  69. be  able  to see two(2) DIP switches.   They are covered  by  a 
  70. clear  plastic strip which says !SW-1" and !SW-2".   Their position 
  71. is to the right front of the printer.  Each of the switches has 
  72. eight(8)  small levers which are used to determine  several  of 
  73. the printer's power-on parameters.
  74.  
  75. To  use the enclosed software,  you need to make sure that  the 
  76. levers  match the settings given in the following  chart.   The 
  77. meaning  for  each setting is given in the  remainder  of  this 
  78. appendix.
  79.  
  80.  
  81.  
  82.  
  83.    !SW - 1"      8  -  7  -  6  -  5  -  4  -  3  -  2  -  1
  84.   ----------------------------------------------------------
  85.  |  CLOSED  |     |  X  |     |     |     |     |  X  |     |
  86.   ----------------------------------------------------------
  87.  |   OPEN   |  X  |     |  R  |  X  |  R  |  X  |     |  X  |
  88.   ----------------------------------------------------------
  89.  
  90.  
  91.    !SW - 2"      8  -  7  -  6  -  5  -  4  -  3  -  2  -  1
  92.  
  93.   ----------------------------------------------------------
  94.  |  CLOSED  |     |  R  |     |     |    NOT    |     |  R  |
  95.   ----------------------------------------------------------
  96.  |   OPEN   |  R  |     |  R  |  R  |   USED    |  X  |     |
  97.   ----------------------------------------------------------
  98.  
  99.                  !X = required   R = recomended"
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.                                A.1
  119.  
  120.                                                      X!APPENDIX A"Y
  121.  
  122.  
  123.  
  124. !PRINTER SWITCH SETTINGS"
  125.  
  126.  
  127.                    X!DIP SWITCH 1    (SW - 1)"Y
  128.  
  129.  
  130. !LEVERS 1, 2, and 3   -   Character Set Selection"
  131.  
  132. These three(3) levers are used to select the character set  for 
  133. your language.  We'll be using English.
  134.  
  135.  
  136.              LEVER NUMBER   |   3   -   2   -   1
  137.           ------------------------------------------
  138.          |       JAPAN      |   O   |   O   |   O   |
  139.           ------------------------------------------
  140.      !*"   |   !UNITED STATES"  |   !O"   |   !C"   |   !O"   |
  141.           ------------------------------------------
  142.          |  UNITED KINGDOM  |   O   |   C   |   C   |
  143.           ------------------------------------------
  144.          |      GERMAN      |   C   |   O   |   O   |
  145.           ------------------------------------------
  146.          |      SWEDISH     |   C   |   O   |   C   |
  147.           ------------------------------------------
  148.                    !O" = Open   -   !C" = Closed
  149.  
  150.  
  151.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  152.  
  153.  
  154. !LEVER 4   -   Length of Page"
  155.  
  156. With  this lever,  you choose the power-on setting for the page 
  157. length.  You have two(2) choices.
  158.  
  159.                        CLOSED = 72 lines
  160.                     !*    OPEN" = 66 lines
  161.  
  162.  
  163.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  164.  
  165.  
  166. !LEVER 5   -   Default SELect Signal"
  167.  
  168. This  lever  determines whether or not the NEC 8023A  will  pay 
  169. attention  to  a software signal from the computer to take  the 
  170. printer on- or off-line.
  171.  
  172.                    CLOSED = ineffective (no)
  173.                 !*    OPEN" = effective (yes)
  174.  
  175.  
  176.  
  177.                                A.2
  178.  
  179.                                          (continued) X!APPENDIX A"Y
  180.  
  181.  
  182.  
  183. !PRINTER SWITCH SETTINGS" (continued)
  184.  
  185.  
  186.                    X!DIP SWITCH 1    (SW - 1)"Y
  187.                           (continued)
  188.  
  189. !LEVER 6   -   LF with a Full Buffer"
  190.  
  191. If you wish to have the NEC 8023A automatically print when  its 
  192. RAM  memory gets full,   then you should have this lever in the 
  193. closed position.  (Some software will require this setting, but 
  194. generally  you  do not want the NEC 8023A to print  unless  the 
  195. computer sends it a print signal.
  196.  
  197.                    CLOSED = effective (yes)
  198.                 !*    OPEN" = ineffective (no)
  199.  
  200.  
  201.  
  202.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  203.  
  204.  
  205.  
  206. !LEVER 7   -   Print Command Code"
  207.  
  208. This  lever allows several commands other than the CR to  cause 
  209. the printer to perform a carriage return.   If you expect  your 
  210. IBM PC to operate correctly with the NEC 8023A, this lever MUST 
  211. be set to closed.
  212.  
  213.       !*  CLOSED" = Carriage Return with CR, LF, VT, FF
  214.            OPEN = Carriage Return with CR only
  215.  
  216.  
  217.  
  218.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  219.  
  220.  
  221.  
  222. !LEVER 8   -   Line Feed following CR"
  223.  
  224. You  are  able  to select a LF automatically with  each  CR  by 
  225. having this lever closed.   But,  with an IBM PC, you MUST have 
  226. this lever open for proper opperation.
  227.  
  228.                 CLOSED = Line Feed with each CR
  229.              !*    OPEN" = CR only (no LF)
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.                                A.3
  237.  
  238.                                          (continued) X!APPENDIX A"Y
  239.  
  240.  
  241.  
  242. !PRINTER SWITCH SETTINGS" (continued)
  243.  
  244.  
  245.                    X!DIP SWITCH 2    (SW - 2)"Y
  246.  
  247.  
  248. !LEVER 1   -   ZERO (0) Print Format"
  249.  
  250. This lever gives you the option of having all zeroes(0) printed 
  251. with or without a slash.  The slash is highly recommended since 
  252. many programming mistakes are caused by confusing the zero  and 
  253. letter O.
  254.  
  255.              !*  CLOSED" = Zero with a Slash
  256.                   OPEN = Zero without a Slash
  257.  
  258.  
  259.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  260.  
  261.  
  262. !LEVER 2   -   Memory Buffer Size"
  263.  
  264. Normally  you have 1K of RAM memory available in the NEC 8023A, 
  265. (unless you have added the 2K memory option).   It is  possible 
  266. that  for  certain applications,  you may want to disable  this 
  267. memory  so that the printer will only be able to hold one  line 
  268. of data at a time.  That's what this lever is for.
  269.  
  270.        !*  CLOSED" = One Line of Data only
  271.             OPEN = 1K or 3K of RAM memory available
  272.  
  273.  
  274.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  275.  
  276.  
  277. !LEVER 3 and 4   -   NOT USED at present"
  278.  
  279.  
  280.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  281.  
  282.  
  283. !LEVER 5   -   Character Pitch"
  284.  
  285. You  have two(2) power-on options PICA  or  PROPORTIONAL.   The 
  286. recommended  setting  is for PICA with Character Pitch  changes 
  287. made by software means.
  288.  
  289.              CLOSED = PROPORTIONAL Character Pitch
  290.           !*    OPEN" = PICA Character Pitch
  291.  
  292.  
  293.  
  294.  
  295.                                A.4
  296.  
  297.                                          (continued) X!APPENDIX A"Y
  298.  
  299.  
  300.  
  301. !PRINTER SWITCH SETTINGS" (continued)
  302.  
  303.  
  304.                    X!DIP SWITCH 2    (SW - 2)"Y
  305.                           (continued)
  306.  
  307. !LEVER 6   -   Seven- or Eight-bit Data"
  308.  
  309. By  setting this lever to Open,  you can make use of the  char-
  310. acter sets contained in the ROM memory of your NEC 8023A.  But, 
  311. only  if  PRINT_CHARACTERS is not installed in your  computer's 
  312. memory.   The setting of this lever makes no difference to  the 
  313. operation of either PRINT_CHARACTERS or PRINT_SCREEN.
  314.  
  315.                    !*  CLOSED" = 7-bit Data
  316.                         OPEN = 8-BIT Data
  317.  
  318.  
  319.  
  320.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  321.  
  322.  
  323.  
  324. !LEVER 7   -   SELect or DESelect "
  325.  
  326. Normally you will want this lever set Closed so that you do not 
  327. have  to  manually  SELect the printer when you  turn  on  your 
  328. computer.
  329.  
  330.             !*  CLOSED" = SELected at Power-on
  331.                  OPEN = Not SELected at Power-on
  332.  
  333.  
  334.  
  335.    ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~
  336.  
  337.  
  338.  
  339. !LEVER 8   -   Bidirectional or Unidirectional Printing"
  340.  
  341. With  this lever you are able to determine whether the  printer 
  342. will  be  allowed to print Bidirectionally.   It's  recommended 
  343. that  you  have  this lever set  open  to  allow  Bidirectional 
  344. printing since it is much faster.
  345.  
  346.                CLOSED = Unidirectional Printing
  347.             !*    OPEN" = Bidirectional Printing
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.                                A.5
  355.  
  356.                                                      !XAPPENDIX BY
  357.  
  358.  
  359.  
  360. H TEST"
  361.  
  362.  
  363. The "H" test is a name of an adjustment procedure.  With it you
  364. can  make  adjustments to the location of information which  is
  365. printed  on consecutive passes of the print head when  printing
  366. bidirectionally.   You  may notice that the dot-columns do  not
  367. always line up properly (vertically) from one pass to the next.
  368. Here  is  how you can adjust your printer so  that  these  dot-
  369. columns line up more closely.
  370.  
  371.    !1)" Set the printer for PICA Character Pitch and the standard
  372.    1/6" Line Spacing. (SW-2, LEVER 8 = CLOSED)
  373.  
  374.    !2)" From BASIC run this short program.
  375.  
  376.                          !10 FOR X=1 TO 10
  377.                          20 FOR L=1 TO 80
  378.                          20 LPRINT "H";
  379.                          30 NEXT L
  380.                          40 NEXT X
  381.                          50 LPRINT CHR$(12)
  382.                          60 END
  383.  
  384.    3)"  Look  at  the vertical bars of the H's and see  if  they
  385.    align.  If they do you're finished.
  386.  
  387.    !4)"  If not,  then turn off the printer,  remove the  carrier
  388.    cover,  and find the adjusting screw marked !VR1" (align).  It
  389.    is under the plastic strip with DIP switches SW1 and SW2.
  390.  
  391.    !5)" Now,  by turning this screw first one way then the other,
  392.    by  rerunning  the short BASIC program,  you should (by  the
  393.    trial and error method) be able to establish a  satisfactory
  394.    alignment.
  395.  
  396.  
  397.                           !DO NOT WORRY!!"
  398.  
  399.    The  amount of adjustment that can be accomplished with this
  400.    method is very small,  (less than a dot width), so you can't
  401.    hurt  anything as long as you don't try to force the  screw.
  402.    If you do not feel adequate to the task,  your dealer should
  403.    do this adjustment for you.
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.                                B.1
  414.  
  415.                                                      !XAPPENDIX CY
  416.  
  417.  
  418.  
  419. CONTROL SEQUENCES"
  420.  
  421.  
  422. Rather  than have a list of control sequences that starts  with
  423. the  lowest  ASCII  code and catalog each  code  progressively,
  424. this listing has the control sequences grouped according to the
  425. use of the sequence.  Hopefully, this will help you gain under-
  426. standing in the use of the various control sequences.
  427.  
  428. In general, each control sequence will be listed with its ASCII
  429. symbol  first.   This will be followed by the decimal number(s)
  430. and then  HEXidecimal number(s) which represent the sequence.
  431.  
  432.  
  433.  !General Printer Control"
  434.  
  435.   These  sequences are used to determine the current state of
  436.   the printer.
  437. T36
  438.  -------------------------------------------------------------T12
  439. | Give  software  control for SELecting  and  DESelecting the |A
  440. | printer.                                                    |
  441. |                                                             |
  442. |      !DC1  -  CHR$(17)  -  11H  -  SELect the printer"        |
  443. |      !DC3  -  CHR$(19)  -  13H  -  DESelect the printer"      |
  444. |                                                             |
  445. | Both are made ineffective by closing SW-1, LEVER 5.         |T12
  446.  -------------------------------------------------------------T48
  447.  -------------------------------------------------------------T12
  448. | Used to select the current print mode.                      |A
  449. |                                                             |
  450. |    !ESC [  -  CHR$(27)+CHR$(91)  -  1BH 5BH  -  Incremental"  |
  451. |    !ESC ]  -  CHR$(27)+CHR$(93)  -  1BH 5DH  -  Logic Seek"   |
  452. |                                                             |T12
  453.  -------------------------------------------------------------T48
  454.  -------------------------------------------------------------T12
  455. | This is used to CANcel print data which has been previously |A
  456. | received within the same line.                              |
  457. |                                                             |
  458. |      !CAN  -  CHR$(24)  -  18H  -  Cancel previous data"      |
  459. |                                                             |
  460. | This code is ignored in incremental print mode.             |T12
  461.  -------------------------------------------------------------T36
  462. A
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.                                C.1
  473.  
  474.                                          (continued) !XAPPENDIX CY
  475.      
  476.  
  477.  
  478. CONTROL SEQUENCES" (continued)
  479.  
  480.  
  481.  !Horizontal Movement"
  482.  
  483.   These sequences either control or cause horizontal movement
  484.   of the print head.
  485. T36
  486.  -------------------------------------------------------------T12
  487. | Moves the print head to the Left Margin.                    |A
  488. |                                                             |
  489. |         !CR  -  CHR$(13)  -  0DH  -  Carriage Return"         |
  490. |                                                             |T12
  491.  -------------------------------------------------------------T48
  492.  -------------------------------------------------------------T12
  493. | Moves the print head to the left one(1) print position.     |A
  494. |                                                             |
  495. |            !BS  -  CHR$(08)  -  08H  -  Back Space"           |
  496. |                                                             |
  497. | This  control sequence is only effective in the incremental |
  498. | printing mode.                                              |T12
  499.  -------------------------------------------------------------T48
  500.  -------------------------------------------------------------T12
  501. | Moves the print head to the next Horizontal Tab Stop.       |A
  502. |                                                             |
  503. |          !HT  -  CHR$(09)  -  09H  -  Horizontal Tab"         |
  504. |                                                             |
  505. | This is ignored if no Horizontal Tabs are set.              |T12
  506.  -------------------------------------------------------------T48
  507.  -------------------------------------------------------------T12
  508. | Sets the position of the Left Margin.                       |A
  509. |                                                             |
  510. |     !ESC L [XXX]  - CHR$(27)+CHR$(76)+"  ?    ?    ?  ""      |
  511. |                  -   !1BH      4CH      3?H  3?H  3?H"        |
  512. |                                                             |
  513. | [!XXX"] =  3-digit decimal number which represents the column |
  514. | in which you wish to place the Left Margin.                 |T12
  515.  -------------------------------------------------------------T48
  516.  -------------------------------------------------------------T12
  517. | Control sequences which allow for variable width spaces.    |A
  518. |                                                             |
  519. |   !ESC (01) - CHR$(27)+CHR$(01) - 1BH 01H  -  1 dot space"    |
  520. |   !ESC (02) - CHR$(27)+CHR$(02) - 1BH 02H  -  2 dot space"    |
  521. |   !ESC (03) - CHR$(27)+CHR$(02) - 1BH 03H  -  3 dot space"    |
  522. |   !ESC (04) - CHR$(27)+CHR$(04) - 1BH 04H  -  4 dot space"    |
  523. |   !ESC (05) - CHR$(27)+CHR$(05) - 1BH 05H  -  5 dot space"    |
  524. |   !ESC (06) - CHR$(27)+CHR$(06) - 1BH 06H  -  6 dot space"    |
  525. |                                                             |
  526. | These sequences are for use in Proportional Pitch only.     |T12
  527.  -------------------------------------------------------------T36
  528. A
  529.  
  530.  
  531.                                C.2
  532.  
  533.                                          (continued) !XAPPENDIX CY
  534.      
  535.  
  536.  
  537. CONTROL SEQUENCES" (continued)
  538.  
  539.  
  540.  !Horizontal Movement" (continued)
  541. T36
  542.  -------------------------------------------------------------T12
  543. | Sets the position of Horizontal Tab Stops.                  |A
  544. |                                                             |
  545. |                  !ESC ( [XXX],nnn,...,[XXX]"                  |
  546. |    !-  CHR$(27)+CHR$(40)+"  ?    ?    ?    ,   ------   .""   |
  547. |    !-    1BH      28H      3?H  3?H  3?H  2CH  ------  2EH"   |
  548. |                                                             |
  549. | [!XXX"] =  3-digit decimal number which represents the column |
  550. | in  which you wish to place a Horizontal Tab Stop.   Commas |
  551. | must  be used to separate each number and the sequence must |
  552. | end  with a period.   Up to thirty-two(32)  Horizontal Tabs |
  553. | Stops may be set at one time.                               |T12
  554.  -------------------------------------------------------------T48
  555.  -------------------------------------------------------------T12
  556. | The !RANGE" of [!XXX"] for these two(2) control sequences is:   |A
  557. |                                                             |
  558. |  !PICA    from 1 to 80    -    PROPORTIONAL    from 1 to 80"  |
  559. | !ELITE    from 1 to 96    -     COMPRESSED     from 1 to 136" |
  560. |                                                             |T12
  561.  -------------------------------------------------------------T48
  562.  -------------------------------------------------------------T12
  563. |  Removes (clears) selected Horizontal Tab Stops.            |A
  564. |                                                             |
  565. |                  !ESC ) [XXX],nnn,...,[XXX]"                  |
  566. |    !-  CHR$(27)+CHR$(41)+"  ?    ?    ?    ,   ------   .""   |
  567. |    !-    1BH      29H      3?H  3?H  3?H  2CH  ------  2EH"   |
  568. |                                                             |
  569. | [!XXX"] =  3-digit decimal number which represents the column |
  570. | from which you wish to remove the Horizontal Tab Stop.  You |
  571. | must  use  commas  to separate each position  and  end  the |
  572. | control sequence with a period.                             |T12
  573.  -------------------------------------------------------------T36
  574. A
  575.  
  576. T36
  577.  -------------------------------------------------------------T12
  578. | Clears all current Horizontal Tab Stops.                    |A
  579. |                                                             |
  580. |           !ESC 2  -  CHR$(27)+CHR$(50)  -  1BH 32H"           |
  581. |                                                             |T12
  582.  -------------------------------------------------------------T36
  583. A
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.                                C.3
  591.  
  592.                                          (continued) !XAPPENDIX CY
  593.      
  594.  
  595.  
  596. CONTROL SEQUENCES" (continued)
  597.  
  598.  
  599.  !Vertical Movement"
  600.  
  601.   This  group of Control Sequences either control  or  cause
  602.   vertical movement of the print head.
  603. T36
  604.  -------------------------------------------------------------T12
  605. | Moves the print head vertically one(1) line.  The direction |A
  606. | is dependent upon the current LF direction.                 |
  607. |                                                             |
  608. |         !LF   -   CHR$(10)   -   0AH   -   Line Feed"         |
  609. |                                                             |T12
  610.  -------------------------------------------------------------T48
  611.  -------------------------------------------------------------T12
  612. | Moves  the print head to the next Vertical Tab Stop set  in |A
  613. | channel 2.                                                  |
  614. |                                                             |
  615. |       !VT   -   CHR$(11)   -   0BH   -   Vertical Tab"        |
  616. |                                                             |
  617. | If the print head is at or beyond the last tab stop, (or if |
  618. | no Vertical Tabs are set), the print head will move to  the |
  619. | next TOF in either direction.                               |T12
  620.  -------------------------------------------------------------T48
  621.  -------------------------------------------------------------T12
  622. | A Vertical Tab command.   When combined with the  following |A
  623. | one(1)  byte,  this command will to move the print head  to |
  624. | either the named channel or the specified number of  lines. |
  625. |                                                             |
  626. |      !US + [XX]  -  CHR$(31) + [XX]  -  Unit Separator"       |
  627. |                 !-    1FH    + [XX]"                          |
  628. |                                                             |
  629. | [!XX"] = a single byte which is configured to specify  either |
  630. | the number of lines or a specific channel number.           |
  631. |                                                             |
  632. |                             bits                            |
  633. |                       X7 6 5 !4 - 3 2 1 0"          Limits    Y |
  634. |  !Channel Number"   -   0 0 0 !0" - 0 !x x x"   -  0 < total > 7  |
  635. | !Number of Lines"   -   0 0 0 !1" - !x x x x"   -  0 < total > 16 |
  636. |                                                             |T12
  637.  -------------------------------------------------------------T36
  638. A
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.                                C.4
  650.  
  651.                                          (continued) !XAPPENDIX CY
  652.      
  653.  
  654.  
  655. CONTROL SEQUENCES" (continued)
  656.  
  657.  
  658.  !Vertical Movement" (continued)
  659. T36
  660.  -------------------------------------------------------------T12
  661. | Moves the print head to the next TOF in either LF direction.|A
  662. |                                                             |
  663. |         !FF   -   CHR$(12)   -   0CH   -   Form Feed"         |
  664. |                                                             |T12
  665.  -------------------------------------------------------------T48
  666.  -------------------------------------------------------------T12
  667. | These sequences are used to select the Line Feed direction. |A
  668. |                                                             |
  669. |   !ESC f  -  CHR$(27)+CHR$(102)  -  1BH 66H  -  Forward LF"   |
  670. |   !ESC r  -  CHR$(27)+CHR$(114)  -  1BH 72H  -  Reverse LF"   |
  671. |                                                             |T12
  672.  -------------------------------------------------------------T48
  673.  -------------------------------------------------------------T12
  674. | These  control sequences establish the number of lines  per |A
  675. | inch (Line Spacing).                                        |
  676. |                                                             |
  677. | !ESC A  -  CHR$(27)+CHR$(65)  -  1BH 41H  -  1/6" Line Feed"  |
  678. | !ESC B  -  CHR$(27)+CHR$(66)  -  1BH 42H  -  1/8" Line Feed"  |
  679. | !ESC T [XX]  -  CHR$(27)+CHR$(84)+"  ?    ?  ""               |
  680. |             !-    1BH      54H      3?H  3?H"                 |
  681. |                                                             |
  682. | [!XX"] = A 2-digit decimal number which represents the number |
  683. | of 144ths of an inch for each Line Feed.                    |T12
  684.  -------------------------------------------------------------T36
  685. A
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.                                C.5
  709.  
  710.                                          (continued)!X APPENDIX CY
  711.      
  712.  
  713.  
  714. CONTROL SEQUENCES" (continued)
  715.  
  716.  
  717.  !Vertical Movement" (continued)
  718.  
  719.   The  following control sequences are used in combination to
  720.   set the Vertical Format.
  721. T36
  722.  -------------------------------------------------------------T12
  723. | The initial  Start Load command  when setting the  Vertical |A
  724. | Format.                                                     |
  725. |                                                             |
  726. |      !GS   -   CHR$(29)   -   1DH   -   Group Separator"      |
  727. |                                                             |T12
  728.  -------------------------------------------------------------T48
  729.  -------------------------------------------------------------T12
  730. | The  End of Load command  when setting the Vertical Format. |A
  731. |                                                             |
  732. |     !RS   -   CHR$(30)   -   1EH   -   Record Separator"      |
  733. |                                                             |T12
  734.  -------------------------------------------------------------T36
  735. A
  736.  
  737.  
  738.                             !EXAMPLE"
  739.        Sections of a program to set the Vertical Format
  740.  
  741. !LN |      BINARY   Bit Placement         |   HEX    |  ASCII  |
  742. X#   7 6 5 4 3 2 1 0 - 7 6 5 4 3 2 1 0    |          |         |Y
  743.          byte 1            byte 2"
  744. 0   !0 0 0 1 1 1 0 1   (GS code-1 byte)   -    1D    -    29"
  745. 1   0 1 0 0 0 0 0 !1" - 0 1 0 0 0 0 0 0  -!TOF-41"  40  -  !65"  64
  746. 2   0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  747. 3   0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  748. 4   0 1 0 0 !1" 0 0 0 - 0 1 0 0 0 0 0 0  -!VT- 48"  40  -  !72"  64
  749. 5   0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  750. 6   0 1 0 0 0 0 !1" 0 - 0 1 0 0 0 0 0 0  -!VT- 42"  40  -  !66"  64
  751. 7   0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  752.     . . . . . . . . . . . . . . . . .
  753.     . . . . . . . . . . . . . . . . .
  754. 20  0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  755. 21  0 1 0 0 0 0 !1 1" - 0 1 0 0 0 0 0 0  -!BOF-43"  40  -  !67"  64
  756. 22  0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  757. 23  0 1 0 0 0 0 0 0 - 0 1 0 0 0 0 0 0    -  40  40  -  64  64
  758. 24  0 1 0 0 0 0 0 !1" - 0 1 0 0 0 0 0 0  -!TOF-41"  40  -  !65"  64
  759. 25  !0 0 0 1 1 1 1 0   (RS code-1byte)    -    1E    -    30"
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.                                C.6
  768.  
  769.                                          (continued) !XAPPENDIX CY
  770.      
  771.  
  772.  
  773. CONTROL SEQUENCES" (continued)
  774.  
  775.  
  776.  !Manipulation of Printable Characters"
  777.  
  778.   This  group of control sequences gives you control over the
  779.   selection of Character Pitch, Character Sets, and how those
  780.   characters will appear when printed.
  781. T36
  782.  -------------------------------------------------------------T12
  783. | Sequences which select the Character Pitch.                 |A
  784. |                                                             |
  785. |   !ESC P  -  CHR$(27)+CHR$(80)  -  1BH 50H  -  Proportional"  |
  786. |   !ESC N  -  CHR$(27)+CHR$(78)  -  1BH 4EH  -  Pica"          |
  787. |   !ESC E  -  CHR$(27)+CHR$(69)  -  1BH 45H  -  Elite"         |
  788. |   !ESC Q  -  CHR$(27)+CHR$(81)  -  1BH 51H  -  Compressed"    |
  789. |                                                             |T12
  790.  -------------------------------------------------------------T48
  791.  -------------------------------------------------------------T12
  792. | Control sequences giving you options which will enhance the |A
  793. | appearance of the characters that will be printed.          |
  794. |                                                             |
  795. |     !SO  -  CHR$(14) - 0EH  -  Elongated" (dbl width)! ON"      |
  796. |     !SI  -  CHR$(15) - 0FH  -  Elongated (cancell)   OFF"     |
  797. |                                                             |T12
  798.                                                           *
  799. |    !DC2  -  CHR$(18) - 12H  -  Italics" (toggle)! - ON/OFF "    |A
  800. |    !DC4  -  CHR$(20) - 14H  -  7-bit Elongated  OFF"          |
  801. |                                                             |
  802. |  !ESC !  -  CHR$(27)+CHR$(33) - 1BH 21H  -  Bold Print  ON"   |
  803. |  !ESC "  -  CHR$(27)+CHR$(34) - 1BH 22H  -  Bold Print  OFF"  |
  804. |                                                             |
  805. | !ESC X  -  CHR$(27)+CHR$(88) - 1BH 58H  -  Underlining  ON"   |
  806. | !ESC Y  -  CHR$(27)+CHR$(89) - 1BH 59H  -  Underlining  OFF"  |
  807. |                                                             |T12
  808.    *
  809. |     DC2 and DC4 are used in place of SO and SI when you use |A
  810. | the  printer set to receive 7-bit code and are  also  using |
  811. | the Japanese character Set.  Since most of us in the U.S.A. |
  812. | speak English, we don't need this possible code useage, and |
  813. | so will be using DC2 as a toggle for Italic Characters,  if |
  814. | PRINT_CHARACTERS is installed.                              |T12
  815.  -------------------------------------------------------------T36
  816.  
  817.  
  818.  
  819.  
  820. A
  821.  
  822.  
  823.  
  824.  
  825.  
  826.                                C.7
  827.  
  828.                                          (continued) !XAPPENDIX CY
  829.      
  830.  
  831.  
  832. CONTROL SEQUENCES" (continued)
  833.  
  834.  
  835.  !Manipulation of Printable Characters" (continued)
  836. T36
  837.  -------------------------------------------------------------T12
  838. | Control sequences  that  give access to  the  two(2)  Char- |A
  839. | acter Sets which are stored in the NEC 8023A's ROM memory.  |
  840. |                                                             |
  841. |   !ESC # - CHR$(27)+CHR$(35) - 1BH 23H - GRAPHICS SYMBOLS"    |
  842. |   !ESC $ - CHR$(27)+CHR$(36) - 1BH 24H - ASCII" (standard)    |
  843. |                                                             |
  844. | At power-on,  the ASCII Character Set  is established.   If |
  845. | the printer is set to receive 8-bit data, the new Character |
  846. | Set  will replace the characters which correspond to  ASCII |
  847. | codes CHR$(160) to CHR$(223).   But,  if the printer is set |
  848. | for  7-bit data, the ASCII codes from CHR$(32) to  CHR$(95) |
  849. | will be replaced.                                           |T12
  850.  -------------------------------------------------------------T36
  851. A
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.                                C.8
  886.  
  887.                                          (continued) !XAPPENDIX CY
  888.      
  889.  
  890.  
  891. CONTROL SEQUENCES" (continued)
  892.  
  893.  
  894.  !Bit-Graphics"
  895.  
  896. T36
  897.  -------------------------------------------------------------T12
  898. | This  sequence places the printer into bit-immage  graphics |A
  899. | and  prints the specified number of following bytes as  bit |
  900. | information.                                                |
  901. |                                                             |
  902. |  !ESC S [XXXX] - CHR$(27)+CHR$(83)+ "  ?    ?    ?    ?  ""   |
  903. |               !-   1BH      53H       3?H  3?H  3?H  3?H"     |
  904. |                                                             |
  905. | [!XXXX"] = a 4-digit decimal number which represents how many |
  906. | of the following bytes will be printed as bit images.   The |
  907. | number of dots per inch and line in each Character Pitch is |
  908. |                                                             |
  909. |  !PICA  80/in - 640/ln       PROPORTIONAL   160/in - 1280/ln" |
  910. |  !ELITE 96/in - 786/ln        COMPRESSED    136/in - 1088/ln" |
  911. |                                                             |     T12
  912.  -------------------------------------------------------------T36
  913. A
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.                                C.9
  945.  
  946.                                          (continued) !XAPPENDIX CY
  947.      
  948.  
  949.  
  950. CONTROL SEQUENCES" (continued)
  951.  
  952.  
  953.  !Bit-Graphics" (continued)
  954.  
  955.  
  956.                             !EXAMPLE"
  957.  
  958.        To print the letter "M" using bit-image graphics:
  959.  
  960.    !1)" Lay out the letter on an 8 x 8 matrix.   Notice that  the
  961.    letter is left justified in the matrix (most are).
  962.  
  963.                  X                               Y
  964.                 |   |   |   |   |   |   |   |   |T12
  965.          bit 0    *                       *
  966.                 |X   |   |   |   |   |   |   |   Y|A
  967.                 |   |   |   |   |   |   |   |   |T12
  968.          bit 1    *   *               *   *
  969.                 |X   |   |   |   |   |   |   |   Y|A
  970.                 |   |   |   |   |   |   |   |   |T12
  971.          bit 2    *       *       *       *
  972.                 |X   |   |   |   |   |   |   |   Y|A
  973.                 |   |   |   |   |   |   |   |   |T12
  974.          bit 3    *           *           *
  975.                 |X   |   |   |   |   |   |   |   Y|A
  976.                 |   |   |   |   |   |   |   |   |T12
  977.          bit 4    *                       *
  978.                 |X   |   |   |   |   |   |   |   Y|A
  979.                 |   |   |   |   |   |   |   |   |T12
  980.          bit 5    *                       *
  981.                 |X   |   |   |   |   |   |   |   Y|A
  982.                 |   |   |   |   |   |   |   |   |T12
  983.          bit 6    *                       *
  984.                 |X   |   |   |   |   |   |   |   Y|A
  985.                 |   |   |   |   |   |   |   |   |T12
  986.          bit 7
  987.                 |X   |   |   |   |   |   |   |   Y|A
  988.    !2)" Translate this BINary information into either HEXadecimal
  989.    or DECamal numbers.
  990.     !HEXadecimal |7F |02 |04 |08 |04 |02 |7F |00 |"
  991.       !DECimal   |127| 2 | 4 | 8 | 4 | 2 |127| 0 |"
  992.  
  993.    !3)"  Place  the  bit information at the end  of  the  control
  994.    sequence.  We have eight(8) columns of graphics this time.
  995.  
  996.          !ESC S "0008"+CHR$(127)+CHR$(2)+CHR$(4)+CHR$(8)+
  997.                       CHR$(4)+CHR$(2)+CHR$(127)+CHR$(0)"
  998. T80
  999.  
  1000.  
  1001. A
  1002.  
  1003.                               C.10
  1004.  
  1005. L000>                                                             !XAPPENDIX DY"
  1006.  
  1007.  
  1008.         !ASCII CHARACTER CODES"
  1009.  
  1010. L008
  1011.     !XDEC  HEX      BIN      CHR           DEC  HEX      BIN      CHRY"
  1012.       0   00   0000-0000   NUL            48   30   0011-0000    0
  1013.       1   01   0000-0001   SOH            49   31   0011-0001    1
  1014.       2   02   0000-0010   STX            50   32   0011-0010    2
  1015.       3   03   0000-0011   ETX            51   33   0011-0011    3
  1016.       4   04   0000-0100   EOT            52   34   0011-0100    4
  1017.       5   05   0000-0101   ENQ            53   35   0011-0101    5
  1018.       6   06   0000-0110   ACK            54   36   0011-0110    6
  1019.       7   07   0000-0111   BEL            55   37   0011-0111    7
  1020.       8   08   0000-1000   BS             56   38   0011-1000    8
  1021.       9   09   0000-1001   HT             57   39   0011-1001    9
  1022.      10   0A   0000-1010   LF             58   3A   0011-1010    :
  1023.      11   0B   0000-1011   VT             59   3B   0011-1011    ;
  1024.      12   0C   0000-1100   FF             60   3C   0011-1100    <
  1025.      13   0D   0000-1101   CR             61   3D   0011-1101    =
  1026.      14   0E   0000-1110   SO             62   3E   0011-1110    >
  1027.      15   0F   0000-1111   SI             63   3F   0011-1111    ?
  1028.      16   10   0001-0000   DLE            64   40   0100-0000    @
  1029.      17   11   0001-0001   DC1            65   41   0100-0001    A
  1030.      18   12   0001-0010   DC2            66   42   0100-0010    B
  1031.      19   13   0001-0011   DC3            67   43   0100-0011    C
  1032.      20   14   0001-0100   DC4            68   44   0100-0100    D
  1033.      21   15   0001-0101   NAK            69   45   0100-0101    E
  1034.      22   16   0001-0110   SYN            70   46   0100-0110    F
  1035.      23   17   0001-0111   ETB            71   47   0100-0111    G
  1036.      24   18   0001-1000   CAN            72   48   0100-1000    H
  1037.      25   19   0001-1001   EM             73   49   0100-1001    I
  1038.      26   1A   0001-1010   SUB            74   4A   0101-1010    J
  1039.      27   1B   0001-1011   ESC            75   4B   0100-1011    K
  1040.      28   1C   0001-1100   FS             76   4C   0100-1100    L
  1041.      29   1D   0001-1101   GS             77   4D   0100-1101    M
  1042.      30   1E   0001-1110   RS             78   4E   0100-1110    N
  1043.      31   1F   0001-1111   US             79   4F   0100-1111    O
  1044.      32   20   0010-0000   SPC            80   50   0101-0000    P
  1045.      33   21   0010-0001    !             81   51   0101-0001    Q
  1046.      34   22   0010-0010    "             82   52   0101-0010    R
  1047.      35   23   0010-0011    #             83   53   0101-0011    S
  1048.      36   24   0010-0100    $             84   54   0101-0100    T
  1049.      37   25   0010-0101    %             85   55   0101-0101    U
  1050.      38   26   0010-0110    &             86   56   0101-0110    V
  1051.      39   27   0010-0111    '             87   57   0101-0111    W
  1052.      40   28   0010-1000    (             88   58   0101-1000    X
  1053.      41   29   0010-1001    )             89   59   0101-1001    Y
  1054.      42   2A   0010-1010    *             90   5A   0101-1010    Z
  1055.      43   2B   0010-1011    +             91   5B   0101-1011    [
  1056.      44   2C   0010-1100    ,             92   5C   0101-1100    \
  1057.      45   2D   0010-1101    -             93   5D   0101-1101    ]
  1058.      46   2E   0010-1110    .             94   5E   0101-1110    ^
  1059.      47   2F   0010-1111    /             95   5F   0101-1111    _ 
  1060.  
  1061.  
  1062.                                   D.1
  1063.  
  1064. L000                                                             !XAPPENDIX DY"
  1065.  
  1066.  
  1067.         !ASCII CHARACTER CODES"
  1068.  
  1069. L008
  1070.     !XDEC  HEX      BIN      CHR           DEC  HEX      BIN      CHRY"
  1071.      96   60   0110-0000    `            144   90   1001-0000    É
  1072.      97   61   0110-0001    a            145   91   1001-0001    æ
  1073.      98   62   0110-0010    b            146   92   1001-0010    Æ
  1074.      99   63   0110-0011    c            147   93   1001-0011    ô
  1075.     100   64   0110-0100    d            148   94   1001-0100    ö
  1076.     101   65   0110-0101    e            149   95   1001-0101    ò
  1077.     102   66   0110-0110    f            150   96   1001-0110    û
  1078.     103   67   0110-0111    g            151   97   1001-0111    ù
  1079.     104   68   0110-1000    h            152   98   1001-1000    ÿ
  1080.     105   69   0110-1001    i            153   99   1001-1001    Ö
  1081.     106   6A   0110-1010    j            154   9A   1001-1010    Ü
  1082.     107   6B   0110-1011    k            155   9B   1001-1011    ¢
  1083.     108   6C   0110-1100    l            156   9C   1001-1100    £
  1084.     109   6D   0110-1101    m            157   9D   1001-1101    ¥
  1085.     110   6E   0110-1110    n            158   9E   1001-1110    ₧
  1086.     111   6F   0110-1111    o            159   9F   1001-1111    ƒ
  1087.     112   70   0111-0000    p            160   A0   1010-0000    á
  1088.     113   71   0111-0001    q            161   A1   1010-0001    í
  1089.     114   72   0111-0010    r            162   A2   1010-0010    ó
  1090.     115   73   0111-0011    s            163   A3   1010-0011    ú
  1091.     116   74   0111-0100    t            164   A4   1010-0100    ñ
  1092.     117   75   0111-0101    u            165   A5   1010-0101    Ñ
  1093.     118   76   0111-0110    v            166   A6   1010-0110    ª
  1094.     119   77   0111-0111    w            167   A7   1010-0111    º
  1095.     120   78   0111-1000    x            168   A8   1010-1000    ¿
  1096.     121   79   0111-1001    y            169   A9   1010-1001    ⌐
  1097.     122   7A   0111-1010    z            170   AA   1010-1010    ¬
  1098.     123   7B   0111-1011    {            171   AB   1010-1011    ½
  1099.     124   7C   0111-1100    |            172   AC   1010-1100    ¼
  1100.     125   7D   0111-1101    }            173   AD   1010-1101    ¡
  1101.     126   7E   0111-1110    ~            174   AE   1010-1110    «
  1102.     127   7F   0111-1111                175   AF   1010-1111    »
  1103.     128   80   1000-0000    Ç            176   B0   1011-0000    ░
  1104.     129   81   1000-0001    ü            177   B1   1011-0001    ▒
  1105.     130   82   1000-0010    é            178   B2   1011-0010    ▓
  1106.     131   83   1000-0011    â            179   B3   1011-0011    │
  1107.     132   84   1000-0100    ä            180   B4   1011-0100    ┤
  1108.     133   85   1000-0101    à            181   B5   1011-0101    ╡
  1109.     134   86   1000-0110    å            182   B6   1011-0110    ╢
  1110.     135   87   1000-0111    ç            183   B7   1011-0111    ╖
  1111.     136   88   1000-1000    ê            184   B8   1011-1000    ╕
  1112.     137   89   1000-1001    ë            185   B9   1011-1001    ╣
  1113.     138   8A   1000-1010    è            186   BA   1011-1010    ║
  1114.     139   8B   1000-1011    ï            187   BB   1011-1011    ╗
  1115.     140   8C   1000-1100    î            188   BC   1011-1100    ╝
  1116.     141   8D   1000-1101    ì            189   BD   1011-1101    ╜
  1117.     142   8E   1000-1110    Ä            190   BE   1011-1110    ╛
  1118.     143   8F   1000-1111    Å            191   BF   1011-1111    ┐
  1119.  
  1120.  
  1121.                                   D.2
  1122.  
  1123. L000                                                             !XAPPENDIX DY"
  1124.  
  1125.  
  1126.         !ASCII CHARACTER CODES"
  1127.  
  1128. L008
  1129.     !XDEC  HEX      BIN      CHR           DEC  HEX      BIN      CHRY"
  1130.     192   C0   1100-0000    └            240   F0   1111-0000    ≡
  1131.     193   C1   1100-0001    ┴            241   F1   1111-0001    ±
  1132.     194   C2   1100-0010    ┬            242   F2   1111-0010    ≥
  1133.     195   C3   1100-0011    ├            243   F3   1111-0011    ≤
  1134.     196   C4   1100-0100    ─            244   F4   1111-0100    ⌠
  1135.     197   C5   1100-0101    ┼            245   F5   1111-0101    ⌡
  1136.     198   C6   1100-0110    ╞            246   F6   1111-0110    ÷
  1137.     199   C7   1100-0111    ╟            247   F7   1111-0111    ≈
  1138.     200   C8   1100-1000    ╚            248   F8   1111-1000    °
  1139.     201   C9   1100-1001    ╔            249   F9   1111-1001    ∙
  1140.     202   CA   1100-1010    ╩            250   FA   1111-1010    ·
  1141.     203   CB   1100-1011    ╦            251   FB   1111-1011    √
  1142.     204   CC   1100-1100    ╠            252   FC   1111-1100    ⁿ
  1143.     205   CD   1100-1101    ═            253   FD   1111-1101    ²
  1144.     206   CE   1100-1110    ╬            254   FE   1111-1110    ■
  1145.     207   CF   1100-1111    ╧            255   FF   1111-1111     
  1146.     208   D0   1101-0000    ╨
  1147.     209   D1   1101-0001    ╤
  1148.     210   D2   1101-0010    ╥
  1149.     211   D3   1101-0011    ╙
  1150.     212   D4   1101-0100    ╘
  1151.     213   D5   1101-0101    ╒
  1152.     214   D6   1101-0110    ╓
  1153.     215   D7   1101-0111    ╫
  1154.     216   D8   1101-1000    ╪
  1155.     217   D9   1101-1001    ┘
  1156.     218   DA   1101-1010    ┌
  1157.     219   DB   1101-1011    █
  1158.     220   DC   1101-1100    ▄
  1159.     221   DD   1101-1101    ▌
  1160.     222   DE   1101-1110    ▐
  1161.     223   DF   1101-1111    ▀
  1162.     224   E0   1110-0000    α
  1163.     225   E1   1110-0001    ß
  1164.     226   E2   1110-0010    Γ
  1165.     227   E3   1110-0011    π
  1166.     228   E4   1110-0100    Σ
  1167.     229   E5   1110-0101    σ
  1168.     230   E6   1110-0110    µ
  1169.     231   E7   1110-0111    τ
  1170.     232   E8   1110-1000    Φ
  1171.     233   E9   1110-1001    Θ
  1172.     234   EA   1110-1010    Ω
  1173.     235   EB   1110-1011    δ
  1174.     236   EC   1110-1100    ∞
  1175.     237   ED   1110-1101    φ
  1176.     238   EE   1110-1110    ε
  1177.     239   EF   1110-1111    ∩
  1178.  
  1179.  
  1180.                                   D.3<
  1181.  
  1182.                                                      !XAPPENDIX EY
  1183.  
  1184.  
  1185.  
  1186. NUMBERING SYSTEMS"
  1187.  
  1188.  
  1189.  
  1190. Most of us count using !DEC"imal numbers.  It !is a BASE 10 system"
  1191. which  means that it has 10 digits (0 through 9).   But a  com-
  1192. puter uses a !BASE 2" counting system that !is called BIN"ary.  (So
  1193. does your printer,  by the way).  Even though we probably won't
  1194. start using BINary arithmetic in our daily lives,  if we expect
  1195. to  make  any inroads into the understanding of  the  computer,
  1196. (and  the NEC 8023A),  it sure helps to have at lease  a  smat-
  1197. tering of knowledge about BINary numbers. So here goes.
  1198.  
  1199.  
  1200.  
  1201. The  binary  system has only two(2) digits for  counting.   You
  1202. probably  guessed as much.   The digits are 0 and  1.   In  the
  1203. computer  these used as OFF(0) and ON(1).   As I'm sure you can
  1204. imagine,  it is extremely difficult,  for humans at  least,  to
  1205. keep  track  of very large numbers using BINary without  making
  1206. lots of mistakes.
  1207.  
  1208.  
  1209.  
  1210. So,  somewhere along the line, the !HEX"adecimal numbering system
  1211. came into being.   It has 16 digits and so !is a BASE 16 system".
  1212. At first this might seem even more complicated than BASE 10  or
  1213. BASE 2.  It isn't, beleive me!
  1214.  
  1215.  
  1216.  
  1217. Most computers and printers have been designed to work with  at
  1218. least  one(1) byte of information at a time.   At least  that's
  1219. the  way  it  appears  to those of us  outside  of  the  micro-
  1220. processor.   Since  this is the case,  it means that we can use
  1221. eight(8)  BITS(binary digits) to represent this single byte  of
  1222. information.
  1223.  
  1224. Like this.             !xxxx-xxxx = 1 BYTE"
  1225.  
  1226.  
  1227.  
  1228. Now,  since there are only sixteen(16) posible combinations  of
  1229. 1's  and  0's  for each half of any byte,  (half of a  byte  is
  1230. called  a nybble),  you can see how HEXadecimal  counting  came
  1231. into being.
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.                                E.1
  1240.  
  1241.                                                      !XAPPENDIX EY
  1242.  
  1243.  
  1244.  
  1245. NUMBERING SYSTEMS"
  1246.  
  1247. What  we need now is a single digit to represent each nybble of
  1248. a byte,  and that's exactly what we have with HEXadecimal  num-
  1249. bers.   But I only know 10 digits.  Do I have to make up six(6)
  1250. new ones to be able to use HEX?  No!  Someone else already did.
  1251. Well, what actually happened, is that it was decided to use the
  1252. first  six(6)  letters of the alphabet,  since most of  us  are
  1253. already familiar with them.
  1254.  
  1255.  
  1256. Here  is  a  table  that shows  the  relationship  between  the
  1257. three(3) numbering systems we have talked about.   The  DECimal
  1258. numbers  are in the first column,  (since you are familiar with
  1259. those),  the  BINary  numbers second,  (since that  is  what  a
  1260. computer  or printer uses),  and last HEXadecimal,  (a  meeting
  1261. place somewhere between us and the computer).
  1262.  
  1263.                      !DEC     BIN       HEX"
  1264.                       0      0000       0
  1265.                       1      0001       1
  1266.                       2      0010       2
  1267.                       3      0011       3
  1268.                       4      0100       4
  1269.                       5      0101       5
  1270.                       6      0110       6
  1271.                       7      0111       7
  1272.                       8      1000       8
  1273.                       9      1001       9
  1274.                      10      1010       A
  1275.                      11      1011       B
  1276.                      12      1100       C
  1277.                      13      1101       D
  1278.                      14      1110       E
  1279.                      15      1111       F
  1280.  
  1281.  
  1282. Now,  if we have 2 nybbles instead of the 1 shown in the table,
  1283. we can have a total 256 combinations.   One(1) byte.  Familiar?
  1284. That is the number of ASCII characters.  Exactly!
  1285.  
  1286.  
  1287. With the NEC 8023A, the main use for all this information, will
  1288. be when you're doing Bit-Graphics.  On the next page is a table
  1289. that  you may find useful for converting your  bit-images  into
  1290. either HEX or DEC data so it can be sent to the printer.
  1291.  
  1292.  
  1293. This  is certainly not an in-depth discussion of the  different
  1294. numbering systems, but then that is just a bit beyond the scope
  1295. of this manual.
  1296.  
  1297.  
  1298.                                E.2
  1299.  
  1300.                                                      !XAPPENDIX EY
  1301.  
  1302.  
  1303.  
  1304. NUMBERING SYSTEMS
  1305.  
  1306.                 LEAST and MOST SIGNIFICANT BITS"
  1307.                  0-3       4-7
  1308.  
  1309.                             !DECIMAL"
  1310. L002Q
  1311.    X 0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15    1   2   3   4   5   6   7   8   9  10  11  12  13  14  15 Y
  1312. 0 |X   |   |   |   |   |   |   |   | * | * | * | * | * | * | * | * ||   |   |   |   |   |   |   |   |   |   |   |   |   |   |   Y|
  1313. 1 |X   |   |   |   | * | * | * | * |   |   |   |   | * | * | * | * ||   |   |   |   |   |   |   |   |   |   |   |   |   |   |   Y|
  1314. 2 |X   |   | * | * |   |   | * | * |   |   | * | * |   |   | * | * ||   |   |   |   |   |   |   |   |   |   |   |   |   |   |   Y|
  1315. 3 |X   | * |   | * |   | * |   | * |   | * |   | * |   | * |   | * ||   |   |   |   |   |   |   |   |   |   |   |   |   |   |   Y|
  1316. 4 |X   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   ||   |   |   |   |   |   |   | * | * | * | * | * | * | * | * Y|
  1317. 5 |X   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   ||   |   |   | * | * | * | * |   |   |   |   | * | * | * | * Y|
  1318. 6 |X   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   ||   | * | * |   |   | * | * |   |   | * | * |   |   | * | * Y|
  1319. 7 |X   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   || * |   | * |   | * |   | * |   | * |   | * |   | * |   | * Y|
  1320.     00  01  02  03  04  05  06  07  08  09  0A  0B  0C  0D  0E  0F   10  20  30  40  50  60  70  80  90  A0  B0  C0  D0  E0  F0
  1321. NL008
  1322.                           !HEXADECIMAL"
  1323.  -------------------------------------------------------------
  1324.                             !DECIMAL"
  1325.  
  1326.         X  1     2     4     8     16    32    64   128 Y
  1327.        |     |     |     |     |     |     |     |     |T12
  1328.  bit 0                                              *
  1329.        |X     |     |     |     |     |     |     |     Y|A
  1330.        |     |     |     |     |     |     |     |     |T12
  1331.  bit 1                                        *
  1332.        |X     |     |     |     |     |     |     |     Y|A
  1333.        |     |     |     |     |     |     |     |     |T12
  1334.  bit 2                                  *
  1335.        |X     |     |     |     |     |     |     |     Y|A
  1336.        |     |     |     |     |     |     |     |     |T12
  1337.  bit 3                            *
  1338.        |X     |     |     |     |     |     |     |     Y|A
  1339.        |     |     |     |     |     |     |     |     |T12
  1340.  bit 4                      *
  1341.        |X     |     |     |     |     |     |     |     Y|A
  1342.        |     |     |     |     |     |     |     |     |T12
  1343.  bit 5                *
  1344.        |X     |     |     |     |     |     |     |     Y|A
  1345.        |     |     |     |     |     |     |     |     |T12
  1346.  bit 6          *
  1347.        |X     |     |     |     |     |     |     |     Y|A
  1348.        |     |     |     |     |     |     |     |     |T12
  1349.  bit 7    *
  1350.        |X     |     |     |     |     |     |     |     Y|A
  1351.           01    02    04    08    10    20    30    80T48
  1352.                           !HEXADECIMAL"T66
  1353.  
  1354.  
  1355.  
  1356. A
  1357.                                E.3
  1358.  
  1359.                                                           !XINDEXY"
  1360.  
  1361.  
  1362.  
  1363. ASCII CODES list          D.1  |  LINE SPACING
  1364. ASPECT, SCREEN (notes)    2.6  |     Explanation            4.3
  1365. AUTOEXEC.BAT FILE              |     Print_Characters       3.5
  1366.    Print_Characters       3.3  |     Setting w/PRNT-SET    4.20
  1367.    Print_Screen           2.3  |  MARGIN, LEFT
  1368. BACKUP COPIES                  |     Explanation            4.6
  1369.    Policy                 1.3  |     Setting w/PRNT-SET    4.21
  1370.    Procedure              1.3  |  NUMBERING SYSTEMS         E.1
  1371. BINary NUMBERS      4.13, E.1  |   NUMBERS
  1372. BOTTOM OF FORM (BOF)     4.12  |     BINary                4.13
  1373. CHARACTER CODES, ASCII    D.1  |     DECimal                E.1
  1374. CHARACTER PITCH                |     HEXadecimal            3.1
  1375.    Explanation            4.2  |  OUT Command (notes)       3.5
  1376.    Setting w/PRNT-SET    4.20  |  PAGE LENGTH (TOF-BOF)    4.12
  1377. CONNECTING LINKS (notes)  3.5  |  PITCH,CHARACTER
  1378. CONTROL SEQUENCES         C.1  |     Explanation            4.2
  1379. COPY                      1.3  |     Setting w/PRNT-SET    4.20
  1380. DECimal NUMBERS           E.1  |  PRINTER CONTROL           C.1
  1381. DEMONSTRATION                  |  PRINTER HOOK-UP (notes)   2.6
  1382.    Print_Characters       3.2  |  PRINT_CHARACTERS
  1383.    Printer_Set           4.19  |     Autoexec.bat File      3.3
  1384.    Print_Screen           2.2  |     Demonstration          3.2
  1385. DEMOnstration DISKette         |     Explanation            3.1
  1386.    Making                 1.3  |     Extended ASCII Set     3.1
  1387.    Use of      2.2, 3.2, 4.19  |     Installation
  1388. DISKCOPY                  1.3  |        Method One          3.2
  1389. ESCape Code (notes)       4.1  |        Method Two          3.3
  1390. FINALWORD                5.13  |     Italics Characters     3.1
  1391. FORM LENGTH (TOF-TOF)    4.12  |     Program Use            3.1
  1392.    Setting w/PRNT-SET    4.22  |     Technical Information  3.4
  1393. FORMS                          |  PRINTER_SET
  1394.    Explanation            4.7  |     Program Use            4.1
  1395.    Setting                     |     Demonstration         4.19
  1396.       From BASIC         4.13  |  PRINTER SWITCH SETTINGS   A.1
  1397.       With PRINTER_SET   4.22  |  PRINT_SCREEN
  1398. FORMAT                    1.3  |     Access from BASIC
  1399. GROUP SEPARATOR (GS)      4.9  |        Explanation         2.4
  1400. HEXadecimal NUMBERS  3.1, E.1  |        Program Listing     2.5
  1401. HORIZONTAL TABS                |     Autoexec.bat File      2.3
  1402.    Explanation            4.4  |     Demontratrion          2.2
  1403.    Setting w/PRNT-SET    4.21  |     Explanation            2.1
  1404. H TEST                    B.1  |     Installation
  1405. INKEY$                    2.4  |        Method One          2.2
  1406. INTerrupt 5H              2.4  |        Method Two          2.3
  1407. INTerrupt 17H (notes)     3.5  |     Program Use            2.1
  1408. LEFT MARGIN                    |     Technical Information  2.6
  1409.    Explanation            4.6  |
  1410.    Setting w/PRNT-SET    4.21  |
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.                               X.1
  1417.  
  1418.                                                           !XINDEXY"
  1419.                                  
  1420.  
  1421.  
  1422. PROGRAM USE
  1423.    Print_Characters       3.1
  1424.    Printer_Set            4.1
  1425.    Print_Screen           2.1
  1426. RECORD SEPARATOR (RS)     4.9
  1427. REQUIREMENTS
  1428.    Computer               1.2
  1429.    Diskdrives             1.2
  1430.    Display                1.2
  1431.    Display Adapter        1.2
  1432.    Memory                 1.2
  1433.    Operating System       1.2
  1434.    Printer                1.2
  1435. SCREEN ASPECT (notes)     2.6
  1436. SINGLE DRIVE (notes)      1.3
  1437. SOFTWARE LIST             1.1
  1438. SWITCH SETTINGS           A.1
  1439. TABS
  1440.    Horizontal
  1441.       Explanation         4.4
  1442.       Setting w/PRNT-SET 4.21
  1443.    Vertical
  1444.       Explanation        4.16
  1445.       Setting w/PRNT-SET 4.22
  1446. TECHNICAL INFORMATION
  1447.    Print_Characters       3.4
  1448.    Print_Screen           2.6
  1449. TOP OF FORM (TOF)        4.12
  1450.    Setting w/PRNT-SET    4.22
  1451. TRANSPARENCIES (notes)    2.6
  1452. UNIT SEPARATOR (US)      4.16
  1453. VERTICAL FORMAT
  1454.    Explanation            4.7
  1455.    Setting
  1456.       From BASIC         4.13
  1457.       From PRINTER_SET   4.22
  1458. VERTICAL TABS
  1459.    Explanation           4.16
  1460.    Setting w/PRNT-SET    4.22
  1461. VOLKSWRITER              5.12
  1462. WORD PROCESSING           5.1
  1463.    FinalWord             5.13
  1464.    Volkswriter           5.12
  1465.    WordStar               5.2
  1466. WORDSTAR                  5.2
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.                               X.2
  1476.  
  1477.                                                     !XADVERTISINGY
  1478.  
  1479.  
  1480. T12
  1481.         tm
  1482. USERWARE"T48
  1483. I prefer to think of certain software products now available inA
  1484. the  market  place as being USERWARE.   Each of these  products
  1485. has several things in common.
  1486.  
  1487. !1)"  Each is designed for ease of use by the final user.
  1488.  
  1489. !2)"  The  user  is able to test the utility of the  software  on
  1490.     his/her own system before committing to purchase.
  1491.  
  1492. !3)"  The  distribution of the product is handled mainly  by  the
  1493.     user.
  1494.  
  1495. !4)"  The  author's contributions are  the  programming,  program
  1496.     updating, and user support.
  1497.  
  1498. !5)"  The  viability  of the software depends  on  the  continued
  1499.     support of those who use it.
  1500.  
  1501.  
  1502. The  USERWARE  method of distribution and support is unique  in
  1503. that it allows each of us involved to make contributions in the
  1504. areas for which we are individually suited.
  1505.  
  1506. Since  I  am the author,  my contributions are rather  obvious.
  1507. Programming,  updating and especially user support.  But, my on
  1508. going support is only possible if I continue to receive  regis-
  1509. tration  fees.   If registrations stop or slow to a trickle,  I
  1510. can  only assume that the  NEC 8023A UTILITIES  are  no  longer
  1511. viable and will therefore shift my attention elseware.
  1512.  
  1513. As the user of this product, and others like it, your continued
  1514. support  is in the form of suggestions for changes and or addi-
  1515. tions to the existing package.   And don't forget,  !YOU ARE THE
  1516. DISTRIBUTOR."  So distribute.  Please!!
  1517.  
  1518. Being a strong believer in USERWARE,  as a further contribution
  1519. to this method of distribution, etc.,  I will include a page of
  1520. advertising  for  other major products that fit this  catagory.
  1521. If you are the author of such a program, please contact me.
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.                                ADV
  1535.  
  1536.                                                     !XADVERTISINGY
  1537.  
  1538.  
  1539. T12
  1540.         tm
  1541. USERWARE"T36
  1542.                                    tmT12
  1543.                          CHASMT48
  1544. A
  1545. If you use assembly language or are even thinking of adding  it
  1546. to you repertoire of languages,  this is an indispensable piece
  1547. of  software.   CHASM  has  a definite advantage over  the  IBM
  1548. assembler, in that it much easier to use.
  1549.  
  1550. !Several strong points are:
  1551.  
  1552. 1)" You  are able to assemble a COM program in a single step  as
  1553.    opposed  to the complicated and convoluted method needed for
  1554.    the IBM assembler.
  1555.  
  1556. !2)" Included are two(2) different, simple mechanisms for getting
  1557.    machine language routines into BASIC.
  1558.  
  1559. !3)" The program's manual and beginner's primer are very  clearly
  1560.    written and easily understood.
  1561.  
  1562. !4)" Unlike the support (?) available for the IBM assembler,  the
  1563.    author of CHASM is extremely supportive and accessible.
  1564.  
  1565. The  NEC 8023A UTILITIES  and other assembly language  programs
  1566. produced  by  SOFT & FRIENDLY were assembled  using  CHASM.   I
  1567. couldn'd do without it.
  1568.  
  1569. CHASM  will run easily in a 64K machine and is  available  from
  1570. the author.   The suggested registration (contribution) is $30.
  1571.  
  1572. To receive an evaluation copy send a blank,  formatted diskette
  1573. to the author.   An addressed,  postage-paid return mailer must
  1574. accompany the diskette.
  1575.  
  1576.  
  1577.                     !WHITMAN SOFTWARE
  1578.                     David Whitman
  1579.                     136 Wellington Terrace
  1580.                     Lansdale  PA  19446"
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.                                ADV
  1594.  
  1595.                                                     !XADVERTISINGY
  1596.  
  1597.  
  1598. T12
  1599.         tm
  1600. USERWARE"T36
  1601.                                    tmT12
  1602.                        NUMZAPT48
  1603. A
  1604. If you use the IBM/Microsoft BASIC compiler,  chances are  your
  1605. programs  are bigger and slower than they have to be.   If  all
  1606. unreferenced line numbers are removed from your source program,
  1607. and the /N switch is used,   BASCOM will optimize your program.
  1608. The result is tighter, more efficient code.
  1609.  
  1610. NUMZAP is a utility which carefully scans your source file, and
  1611. deletes  all the non-essential line numbers.   Performing  this
  1612. task  by hand would be prohibitively time comsuming and  you'ld
  1613. probably  introduce  errors into your program in  the  process.
  1614. NUMZAP will do the job in minutes, 100% error free.
  1615.  
  1616. An added advantage to using NUMZAP is that bigger programs  can
  1617. be compiled.  You may not be aware that there is a limit on the
  1618. size of programs which the compiler can handle.  BASCOM uses up
  1619. space  remembering the offset of each line number in your  pro-
  1620. gram.  If you have too many numbered lines, BASCOM will run out
  1621. of  room and you'll get an unending series of TC,  Too Complex,
  1622. error messages.   By eliminating the unneeded line numbers, you
  1623. give BASCOM more elbow room.
  1624.  
  1625. The suggested registration (contribution) is $15.   To  receive
  1626. an  evaluation  copy send a blank,  formatted diskette  to  the
  1627. author.   An addressed,  postage-paid return mailer must accom-
  1628. pany the diskette.  
  1629.  
  1630.  
  1631.                     !WHITMAN SOFTWARE
  1632.                     David Whitman
  1633.                     136 Wellington Terrace
  1634.                     Lansdale  PA  19446"
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.                                ADV
  1653.  
  1654.                                                     !XADVERTISINGY
  1655.  
  1656.  
  1657. T12
  1658.         tm
  1659. USERWARE"T48
  1660. A
  1661.               PRINTER UTILITIES
  1662.  
  1663.  
  1664. SOFT  &  FRIENDLY is continually adding utilities  for  various
  1665. printers  available  on the market.   At the  writing  of  this
  1666. user manual, the list includes:
  1667.  
  1668.  
  1669.         !PRINT_SCREEN for:
  1670.                 TOSHIBA 1350P
  1671.                 EPSON RX-80
  1672.  
  1673.         PROWRITER UTILITIES" (PRNT-SCN,PRNT-CHR, and PRNT-SET)
  1674.  
  1675.         !SET_PRINTER for:" (a batch file printer setting utility)
  1676.                 !TOSHIBA 1350P
  1677.                 EPSON RX-80
  1678.                 PROWRITER I & II
  1679.                 OKIDATA 92
  1680.                 NEC 8023A
  1681.                 NEC PINWRITER P2-2"
  1682.  
  1683.  
  1684. By  the  time you read this list,  the number of programs  will
  1685. have surely increased.  To get an updated list, contact:
  1686.  
  1687.  
  1688.                      !SOFT & FRIENDLY
  1689.                      Michael L Hoyt
  1690.                      R 2  Box 65
  1691.                      Solsberry  IN  47459
  1692.                      812-825-7384"
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.                                ADV
  1712.  
  1713.